package com.yxhl.zoume.data.http.rest.repositoryimpl;

import com.yxhl.zoume.data.http.repository.usercenter.UserCenterRepository;
import com.yxhl.zoume.data.http.rest.param.feedback.FeedbackParam;
import com.yxhl.zoume.data.http.rest.param.usercenter.LogoutParam;
import com.yxhl.zoume.data.http.rest.repositoryimpl.base.BaseDataRepository;
import com.yxhl.zoume.data.http.rest.response.feedback.FeedbackResponse;
import com.yxhl.zoume.data.http.rest.response.usercenter.LogoutResponse;

import javax.inject.Inject;

import rx.Observable;

/**
 * Created by vhawk on 16/4/12.
 */
public class UserCenterDataRepository extends BaseDataRepository implements UserCenterRepository {

    @Inject
    public UserCenterDataRepository() {
    }

    @Override
    public Observable<LogoutResponse> logout(LogoutParam logoutParam) {
        return mZouMeService.logout(logoutParam);
    }

    @Override
    public Observable<FeedbackResponse> commitFeedback(FeedbackParam param) {
        return  mZouMeService.commitFeedback(param);
    }


}
